package org.adream.account.dao;

import java.util.List;

import org.adream.account.entity.EducationEntity;
import org.apache.ibatis.annotations.Param;

@BaseMybatisDao
public interface EducationDao {
	
	int addEducation(EducationEntity education);
	
	int deleteEducation(EducationEntity education);
	
	int updateEducation(EducationEntity education);
	
	List<EducationEntity> queryEducationByDr(@Param("dr") Integer dr);
	
	EducationEntity queryEduByEidAndDr(@Param("eid") Integer eid,@Param("dr") Integer dr);
}